<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:sijyp="http://java.sun.com/jsf/composite/sijyp">

	<rich:tabPanel id="tp_caso_detalle" switchType="client"
		rendered="#{registrarEntregas.dto.id != null}">
		<rich:tab id="tab_documentos_entrega">
			<f:facet name="header">
				#{msgExh['exhumaciones.entregas.documentos_asociados']}
				</f:facet>
			<ui:include src="documentos/main.xhtml">
				<ui:param name="parentMb" value="#{managedBean}" />
				<ui:param name="documentosAdicionCadaver"
					value="#{managedBean.documentosAdicionCadaver}" />
			</ui:include>
		</rich:tab>
		<rich:tab id="tab_">
			<f:facet name="header">
				#{msgExh['exhumaciones.entregas.cadaveres_entregados']}
				</f:facet>
			<ui:include src="cadaveres/main.xhtml">
				<ui:param name="parentMb" value="#{managedBean}" />
				<ui:param name="cadaveres" value="#{managedBean.cadaveres}" />
			</ui:include>
		</rich:tab>
		<rich:tab id="tab_novedad_entrega">
			<f:facet name="header">
				#{msgExh['exhumaciones.entregas.novedades']}
				</f:facet>
			<ui:include src="novedades/main.xhtml">
				<ui:param name="parentMb" value="#{managedBean}" />
				<ui:param name="novedadesEntregaCadaver"
					value="#{managedBean.novedadesEntregaCadaver}" />
			</ui:include>
		</rich:tab>
	</rich:tabPanel>

</ui:composition>
